home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaed6.z / dlaed6
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAAEEEEDDDD6666((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD6666((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLAED6 - compute the positive or negative root (closest to the origin) of
  10.      z(1) z(2) z(3) f(x) = rho + --------- + ---------- + --------- d(1)-x
  11.      d(2)-x d(3)-x  It is assumed that  if ORGATI = .true
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DLAED6( KNITER, ORGATI, RHO, D, Z, FINIT, TAU, INFO )
  15.  
  16.          LOGICAL        ORGATI
  17.  
  18.          INTEGER        INFO, KNITER
  19.  
  20.          DOUBLE         PRECISION FINIT, RHO, TAU
  21.  
  22.          DOUBLE         PRECISION D( 3 ), Z( 3 )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      DLAED6 computes the positive or negative root (closest to the origin) of
  39.      z(1) z(2) z(3) f(x) = rho + --------- + ---------- + --------- d(1)-x
  40.      d(2)-x d(3)-x It is assumed that if ORGATI = .true. the root is between
  41.      d(2) and d(3);       otherwise it is between d(1) and d(2)
  42.  
  43.      This routine will be called by DLAED4 when necessary. In most cases, the
  44.      root sought is the smallest in magnitude, though it might not be in some
  45.      extremely rare situations.
  46.  
  47.  
  48. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  49.      KNITER       (input) INTEGER
  50.                   Refer to DLAED4 for its significance.
  51.  
  52.      ORGATI       (input) LOGICAL
  53.                   If ORGATI is true, the needed root is between d(2) and d(3);
  54.                   otherwise it is between d(1) and d(2).  See DLAED4 for
  55.                   further details.
  56.  
  57.      RHO          (input) DOUBLE PRECISION
  58.                   Refer to the equation f(x) above.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAAEEEEDDDD6666((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD6666((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D            (input) DOUBLE PRECISION array, dimension (3)
  75.                   D satisfies d(1) < d(2) < d(3).
  76.  
  77.      Z            (input) DOUBLE PRECISION array, dimension (3)
  78.                   Each of the elements in z must be positive.
  79.  
  80.      FINIT        (input) DOUBLE PRECISION
  81.                   The value of f at 0. It is more accurate than the one
  82.                   evaluated inside this routine (if someone wants to do so).
  83.  
  84.      TAU          (output) DOUBLE PRECISION
  85.                   The root of the equation f(x).
  86.  
  87.      INFO         (output) INTEGER
  88.                   = 0: successful exit
  89.                   > 0: if INFO = 1, failure to converge
  90.  
  91. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  92.      Based on contributions by
  93.         Ren-Cang Li, Computer Science Division, University of California
  94.         at Berkeley, USA
  95.  
  96.  
  97. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  98.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  99.  
  100.      This man page is available only online.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.